[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Int 21 Fn 3F  - Bw-tcp - Get Driver Info                                   [N]

   AH = 3Fh
   BX = file handle for device "ETHDEV27"
   CX = 002Bh
   DS:DX -> buffer for driver info (see below)

Return: CF clear if successful
       AX = number of bytes actually read (0 if at EOF before call)
   CF set on error
       AX = error code (05h,06h) (see AH=59h)
Program: BW-TCP is a TCP/IP protocol stack by Beame & Whiteside Software

Notes: the B&W socket library performs an INT 21/AX=4401h with DX=0060h before
     making this call to retrieve the driver information; one should also
     call the private API interrupt with AH=15h
   the installation check for the TCP/IP stack is to test for the
     existence of the character device UDP-IP10

See Also: INT 14/AH=56h,INT 62"BW-TCP",INT 63/AH=03h,INT 64/AH=00h
Index: installation check;BW-TCP hardware driver
Index: installation check;BW-TCP TCPIP.SYS

Format of driver info:
Offset Size    Description
 00h   WORD    I/O base address
 02h   BYTE    shared memory page (01h = segment 0100h, etc.)
 03h   BYTE    interrupt vector for private API
 04h   BYTE    IRQ used by board
 05h   WORD    size of data buffer
 07h   WORD    maximum transfer window
 09h   WORD    time zone
 0Bh   BYTE    address type (01h user, 04h RARP, 05h BOOTP)
 0Ch   DWORD   internet address
 10h   WORD    "value" ???
 12h   BYTE    subnet mask
 13h   WORD    "ether_pointer" ???
 15h   WORD    offset in device driver of log server records
 17h   WORD    offset in device driver of name server records
 19h   WORD    offset in device driver of print server records
 1Bh   WORD    offset in device driver of time server records
 1Dh   WORD    offset in device driver of gateway records
 1Fh   WORD    segment address of device driver
 21h   BYTE    transfer size
 22h  9 BYTEs  network adapter board name
---11/21/91+ ---
 23h   BYTE    ETHDEV version (major in high nybble, minor in low nybble)
 24h   BYTE    ETHDEV revision
 25h   BYTE    TCPIP version (major in high nybble, minor in low nybble)
 26h   BYTE    TCPIP revision
 27h   BYTE    BWRPC version (major in high nybble, minor in low nybble)
 28h   BYTE    BWRPC revision
 29h   BYTE    BWNFS version (major in high nybble, minor in low nybble)
 2Ah   BYTE    BWNFS revision
 2Bh   BYTE    Telnet version (major in high nybble, minor in low nybble)
 2Ch   BYTE    Telnet revision
 2Dh   BYTE    NETBIOS version (major in high nybble, minor in low nybble)
 2Eh   BYTE    NETBIOS revision

Note:  for each driver, if version=0, the driver is not installed or does
     not support the version check

Format of server records:
Offset Size    Description
 00h   BYTE    number of server records following
 01h  N DWORDs internet addresses of servers

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson